package com.IntelligentCommunity.deploy.service;

import com.IntelligentCommunity.deploy.domain.DeployTaskFace;
import com.IntelligentCommunity.deploy.domain.vo.DeployTaskFaceVO;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 抓拍任务Service接口
 *
 * @author kwzjx
 * @date 2024-07-23
 */
public interface IDeployTaskFaceService
{
    /**
     * 查询抓拍任务
     *
     * @param id 抓拍任务主键
     * @return 抓拍任务
     */
    public DeployTaskFace selectDeployTaskFaceById(Long id);

    /**
     * 查询抓拍任务列表
     *
     * @param deployTaskFace 抓拍任务
     * @return 抓拍任务集合
     */
    public List<DeployTaskFace> selectDeployTaskFaceList(DeployTaskFace deployTaskFace);

    /**
     * 新增抓拍任务
     *
     * @param deployTaskFace 抓拍任务
     * @return 结果
     */
    public int insertDeployTaskFace(DeployTaskFace deployTaskFace);

    /**
     * 修改抓拍任务
     *
     * @param deployTaskFace 抓拍任务
     * @return 结果
     */
    public int updateDeployTaskFace(DeployTaskFace deployTaskFace);

    /**
     * 批量删除抓拍任务
     *
     * @param ids 需要删除的抓拍任务主键集合
     * @return 结果
     */
    public int deleteDeployTaskFaceByIds(Long[] ids);

    /**
     * 删除抓拍任务信息
     *
     * @param id 抓拍任务主键
     * @return 结果
     */
    public int deleteDeployTaskFaceById(Long id);

    void deployTaskFaceAdd(DeployTaskFace deployTaskFace);


    List<DeployTaskFaceVO> selectDeployTaskFaceVOList(DeployTaskFace deployTaskFace, Integer flag, String populationName, String idCardNumber);

    void pauseOrStart(String subject, Long id, Integer status);

    List<String> selectTaskImagesById(Long id);

    DeployTaskFaceVO selectDeployTaskDetailById(Long id);

    void deployPopulationAdd(DeployTaskFace deployTaskFace, Long id);

    void startTimeUpButNotStartTask();
}
